<?php 
include "../config.php";

$displaytype = "admin";

require_once "../lib/tb_functions.php";

$config=$_REQUEST["config"];
if ( $config == "" )
	$config="tbconfig";
$tb_config = ReadConfig($config );

$tokboxsessionid = $tb_config["SESSIONID"];
//$tokboxpartnerid =  API_Config::API_KEY;
$tokboxtoken = $tb_config["TOKEN"];

//$doc =& JFactory::getDocument();
//$headdata= $doc->getHeadData();
//$keywords=$headdata["discription"];
//$keywords=$doc->getMetadata("keywords");
//$location_of_character = strrpos($keywords,"TOKBOX");
//print "$keywords:$location_of_character";

//print "<br>SessionID:$tokboxsessionid<br><br>";
//print "$tokboxtoken<br>";


//$tokboxpartnerid = "4495";
//$tokboxsessionid = "189327b35161a0fbaf05d96504bb9684ee1007df";

list($videowidth,$videoheight)=explode("X",$tb_config["CS"],2);


include ('../lib/admin.php');

?>
